using System;

namespace SG.Sys.Console.Process
{
    public class LineOutputEvent : EventArgs
    {
        public LineOutputEvent(string content, OutputKind outputKind, bool isPrompt, int terminatedLineCount)
        {
            Content = content;
            Time = DateTime.Now;
            OutputKind = outputKind;
            IsPromptLine = isPrompt;
            TerminatedLineCount = terminatedLineCount;
        }

        public bool IsPromptLine { get; private set; }
        public DateTime Time { get; private set; }
        public string Content { get; private set; }
        public OutputKind OutputKind { get; private set; }
        public int TerminatedLineCount { get; private set; }
    }
}